<template>
  <div id="mapContainer"></div>
</template>

<script>
import baseMap from './baseMap';
export default {
  data() {
    return {
      viewer: null,
    };
  },
  created() {},
  mounted() {
    baseMap.initMap("mapContainer")
    baseMap.loadArea();
  },
  methods: {
  },
};
</script>

<style lang="scss" scoped>
#mapContainer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  ::v-deep .cesium-viewer,::v-deep .cesium-viewer-cesiumWidgetContainer,::v-deep .cesium-widget ,::v-deep .cesium-widget canvas{
    width: 100%;
    height: 100%;
  }
}
</style>